Generates an ellipse given three points, which define a diameter and a radius perpendicular to the diameter. The shape is used for the generation of an arc or an area, depending on the current element generation mode.